//heritage
jQuery.extend(Avatar.prototype, new Entity());
function Avatar(name) {
    
    // Attrs
    this.name = name || "Avatar",
    this.bag = {},

    // Functs
    this.init = function() {
        this.bag = new Array(8);
        console.log("La taille du sac de l'avatar:"+this.name+" est de "+this.bag.length);
    }

}

